package io.qifan.desktop.client.socket;

import java.util.concurrent.TimeoutException;

public interface AsyncResult<T> {
    T getResult() throws InterruptedException, TimeoutException;

    boolean isComplete();

    void complete(T t);
}
